package com.villaday.idf.model3;

import java.util.List;

public class MemberConfigurations {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"headerAdverts":[{"jumpType":3,"material":{"btnName":"去解冻>","allowBtn":true,"text":"您还有￥5加返佣金待解冻","type":3},"miniAppId":"gh_08970ca2656f","periodTime":0,"url":"pages/reward/index"}],"middleAdverts":[{"jumpType":3,"startDateTime":"2018-01-01 00:00:00","material":{"type":0,"url":"https://img.villaday.com/wap/img/idf/advert_member_center_middle_vip_v1.png"},"miniAppId":"gh_67b257513754","miniProgramType":3,"periodTime":0,"endDateTime":"2020-01-30 00:00:00","url":"pages/reward/index"}]}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        private List<HeaderAdvertsBean> headerAdverts;
        private List<MiddleAdvertsBean> middleAdverts;
        private List<TasksBean> tasks;

        public List<TasksBean> getTasks() {
            return tasks;
        }

        public void setTasks(List<TasksBean> tasks) {
            this.tasks = tasks;
        }

        public List<HeaderAdvertsBean> getHeaderAdverts() {
            return headerAdverts;
        }

        public void setHeaderAdverts(List<HeaderAdvertsBean> headerAdverts) {
            this.headerAdverts = headerAdverts;
        }

        public List<MiddleAdvertsBean> getMiddleAdverts() {
            return middleAdverts;
        }

        public void setMiddleAdverts(List<MiddleAdvertsBean> middleAdverts) {
            this.middleAdverts = middleAdverts;
        }

        public static class HeaderAdvertsBean {
            /**
             * jumpType : 3
             * material : {"btnName":"去解冻>","allowBtn":true,"text":"您还有￥5加返佣金待解冻","type":3}
             * miniAppId : gh_08970ca2656f
             * periodTime : 0
             * url : pages/reward/index
             */

            private int jumpType;
            private MaterialBean material;
            private String miniAppId;
            private int periodTime;
            private String url;

            public int getJumpType() {
                return jumpType;
            }

            public void setJumpType(int jumpType) {
                this.jumpType = jumpType;
            }

            public MaterialBean getMaterial() {
                return material;
            }

            public void setMaterial(MaterialBean material) {
                this.material = material;
            }

            public String getMiniAppId() {
                return miniAppId;
            }

            public void setMiniAppId(String miniAppId) {
                this.miniAppId = miniAppId;
            }

            public int getPeriodTime() {
                return periodTime;
            }

            public void setPeriodTime(int periodTime) {
                this.periodTime = periodTime;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public static class MaterialBean {
                /**
                 * btnName : 去解冻>
                 * allowBtn : true
                 * text : 您还有￥5加返佣金待解冻
                 * type : 3
                 */

                private String btnName;
                private boolean allowBtn;
                private String text;
                private int type;

                public String getBtnName() {
                    return btnName;
                }

                public void setBtnName(String btnName) {
                    this.btnName = btnName;
                }

                public boolean isAllowBtn() {
                    return allowBtn;
                }

                public void setAllowBtn(boolean allowBtn) {
                    this.allowBtn = allowBtn;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }
            }
        }

        public static class MiddleAdvertsBean {
            /**
             * jumpType : 3
             * startDateTime : 2018-01-01 00:00:00
             * material : {"type":0,"url":"https://img.villaday.com/wap/img/idf/advert_member_center_middle_vip_v1.png"}
             * miniAppId : gh_67b257513754
             * miniProgramType : 3
             * periodTime : 0
             * endDateTime : 2020-01-30 00:00:00
             * url : pages/reward/index
             */

            private int jumpType;
            private String startDateTime;
            private MaterialBeanX material;
            private String miniAppId;
            private int miniProgramType;
            private int periodTime;
            private String endDateTime;
            private String url;

            public int getJumpType() {
                return jumpType;
            }

            public void setJumpType(int jumpType) {
                this.jumpType = jumpType;
            }

            public String getStartDateTime() {
                return startDateTime;
            }

            public void setStartDateTime(String startDateTime) {
                this.startDateTime = startDateTime;
            }

            public MaterialBeanX getMaterial() {
                return material;
            }

            public void setMaterial(MaterialBeanX material) {
                this.material = material;
            }

            public String getMiniAppId() {
                return miniAppId;
            }

            public void setMiniAppId(String miniAppId) {
                this.miniAppId = miniAppId;
            }

            public int getMiniProgramType() {
                return miniProgramType;
            }

            public void setMiniProgramType(int miniProgramType) {
                this.miniProgramType = miniProgramType;
            }

            public int getPeriodTime() {
                return periodTime;
            }

            public void setPeriodTime(int periodTime) {
                this.periodTime = periodTime;
            }

            public String getEndDateTime() {
                return endDateTime;
            }

            public void setEndDateTime(String endDateTime) {
                this.endDateTime = endDateTime;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public static class MaterialBeanX {
                /**
                 * type : 0
                 * url : https://img.villaday.com/wap/img/idf/advert_member_center_middle_vip_v1.png
                 */

                private int type;
                private String url;

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }

        public static class TasksBean {
            /**
             * button : {"click":true,"name":"查看领取"}
             * desc : 三亚康莱德3天2晚房券
             * icon : https://img.villaday.com/static/18/img/task/01.png
             * jump : {"jumpType":3,"miniAppId":"gh_08970ca2656f","miniProgramType":3,"url":"pages/special/index?activityId=31"}
             * name : 新会员0元住
             */

            private ButtonBean button;
            private String desc;
            private String icon;
            private JumpBean jump;
            private String name;

            public ButtonBean getButton() {
                return button;
            }

            public void setButton(ButtonBean button) {
                this.button = button;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public JumpBean getJump() {
                return jump;
            }

            public void setJump(JumpBean jump) {
                this.jump = jump;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public static class ButtonBean {
                /**
                 * click : true
                 * name : 查看领取
                 */

                private boolean click;
                private String name;

                public boolean isClick() {
                    return click;
                }

                public void setClick(boolean click) {
                    this.click = click;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class JumpBean {
                /**
                 * jumpType : 3
                 * miniAppId : gh_08970ca2656f
                 * miniProgramType : 3
                 * url : pages/special/index?activityId=31
                 */

                private int jumpType;
                private String miniAppId;
                private int miniProgramType;
                private String url;

                public int getJumpType() {
                    return jumpType;
                }

                public void setJumpType(int jumpType) {
                    this.jumpType = jumpType;
                }

                public String getMiniAppId() {
                    return miniAppId;
                }

                public void setMiniAppId(String miniAppId) {
                    this.miniAppId = miniAppId;
                }

                public int getMiniProgramType() {
                    return miniProgramType;
                }

                public void setMiniProgramType(int miniProgramType) {
                    this.miniProgramType = miniProgramType;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }

}
